/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.urbansoft.icl;

import java.util.ArrayList;
import org.apache.log4j.Logger;
import org.urbansoft.icl.record.ReturnAddendumD3501;
import org.urbansoft.icl.record.ReturnAddendumD3502;
import org.urbansoft.icl.record.ReturnAddendumD3503;
import org.urbansoft.icl.record.ReturnAddendumD3504;
import org.urbansoft.icl.record.ReturnAddendumD3505;
import org.urbansoft.icl.record.ReturnAddendumD3506;
import org.urbansoft.icl.record.ReturnAddendumD3598;
import org.urbansoft.icl.record.ReturnAddendumD3599;
import org.urbansoft.icl.record.ReturnRecord;
import org.urbansoft.icl.record.ReturnAddendumARecord;

/**
 * 
 * @author Ricardo Reyes
 */
public class ReturnItem implements Item {
	private static Logger log = Logger.getLogger(ReturnItem.class);
	private int registerCounter;
	private ReturnRecord returnDetail;
	private ArrayList<ReturnAddendumARecord> returnDetailAddendumAList;
	private ArrayList<ImageView> imageViewList;
	private ReturnAddendumD3501 returnAdd3501;
	private ReturnAddendumD3502 returnAdd3502;
	private ReturnAddendumD3503 returnAdd3503;
	private ReturnAddendumD3504 returnAdd3504;
	private ReturnAddendumD3505 returnAdd3505;
	private ReturnAddendumD3506 returnAdd3506;
	private ArrayList<ReturnAddendumD3598> returnDetailAddendumD3598List;
	private ArrayList<ReturnAddendumD3599> returnDetailAddendumD3599List;

	public ReturnItem() {
		returnDetailAddendumAList = new ArrayList<ReturnAddendumARecord>();
		returnDetailAddendumD3598List = new ArrayList<ReturnAddendumD3598>();
		returnDetailAddendumD3599List = new ArrayList<ReturnAddendumD3599>();
	}

	public ReturnItem(ReturnRecord checkDetail,
			ArrayList<ReturnAddendumARecord> checkDetailAddendumAList,
			ArrayList<ImageView> imageViewList) {
		this.returnDetail = checkDetail;
		this.returnDetailAddendumAList = checkDetailAddendumAList;
		this.imageViewList = imageViewList;
		this.returnDetailAddendumD3598List = new ArrayList<ReturnAddendumD3598>();
		this.returnDetailAddendumD3599List = new ArrayList<ReturnAddendumD3599>();
	}

	public ArrayList<ReturnAddendumD3598> getReturnDetailAddendumD3598List() {
		return returnDetailAddendumD3598List;
	}

	public void setReturnDetailAddendumD3598List(
			ArrayList<ReturnAddendumD3598> returnDetailAddendumD3598List) {
		this.returnDetailAddendumD3598List = returnDetailAddendumD3598List;
	}

	public ArrayList<ReturnAddendumD3599> getReturnDetailAddendumD3599List() {
		return returnDetailAddendumD3599List;
	}

	public void setReturnDetailAddendumD3599List(
			ArrayList<ReturnAddendumD3599> returnDetailAddendumD3599List) {
		this.returnDetailAddendumD3599List = returnDetailAddendumD3599List;
	}

	public ReturnRecord getReturnDetail() {
		return returnDetail;
	}

	public void setReturnDetail(ReturnRecord returnDetail) {
		this.returnDetail = returnDetail;
	}

	public ArrayList<ReturnAddendumARecord> getReturnDetailAddendumAList() {
		return returnDetailAddendumAList;
	}

	public void setReturnDetailAddendumAList(
			ArrayList<ReturnAddendumARecord> returnDetailAddendumAList) {
		this.returnDetailAddendumAList = returnDetailAddendumAList;
	}

	public ArrayList<ImageView> getImageViewList() {
		return imageViewList;
	}

	public void setImageViewList(ArrayList<ImageView> imageViewList) {
		this.imageViewList = imageViewList;
	}

	public ReturnAddendumD3501 getReturnAdd3501() {
		return returnAdd3501;
	}

	public void setReturnAdd3501(ReturnAddendumD3501 returnAdd3501) {
		this.returnAdd3501 = returnAdd3501;
	}

	public ReturnAddendumD3502 getReturnAdd3502() {
		return returnAdd3502;
	}

	public void setReturnAdd3502(ReturnAddendumD3502 returnAdd3502) {
		this.returnAdd3502 = returnAdd3502;
	}

	public ReturnAddendumD3503 getReturnAdd3503() {
		return returnAdd3503;
	}

	public void setReturnAdd3503(ReturnAddendumD3503 returnAdd3503) {
		this.returnAdd3503 = returnAdd3503;
	}

	public ReturnAddendumD3504 getReturnAdd3504() {
		return returnAdd3504;
	}

	public void setReturnAdd3504(ReturnAddendumD3504 returnAdd3504) {
		this.returnAdd3504 = returnAdd3504;
	}

	public ReturnAddendumD3505 getReturnAdd3505() {
		return returnAdd3505;
	}

	public void setReturnAdd3505(ReturnAddendumD3505 returnAdd3505) {
		this.returnAdd3505 = returnAdd3505;
	}

	public ReturnAddendumD3506 getReturnAdd3506() {
		return returnAdd3506;
	}

	public void setReturnAdd3506(ReturnAddendumD3506 returnAdd3506) {
		this.returnAdd3506 = returnAdd3506;
	}

	public static Logger getLog() {
		return log;
	}

	public static void setLog(Logger log) {
		ReturnItem.log = log;
	}

	public int getRegisterCounter() {
		return registerCounter;
	}

	public void setRegisterCounter(int registerCounter) {
		this.registerCounter = registerCounter;
	}

}
